package com.sen.dto;


import com.sen.entity.Role;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

@Data
@ToString
public class ResourceDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "资源ID")
    private Integer id;

    @ApiModelProperty(value = "资源路径")
    private String url;

    @ApiModelProperty(value = "资源名称")
    private String resourceName;

    @ApiModelProperty(value = "该菜单需要的角色")
    private List<Role> roles;


}
